﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/CommonView.cshtml";
    List<One_day.Models.T_Shop_Category> list = ViewBag.lst;

}
<div>
    <div id="ad" >
        @Html.Partial("~/Views/Shared/FirstPageView.cshtml")
    </div>
    @*一行四个内容显示物品种类*@
    <ul style="list-style:none;">
        @{
            foreach (One_day.Models.T_Shop_Category data in list)
            {
                <li style="float:left;width:20%;margin:10px;text-align:center;">
                    <a href="~/Yichen/List?CatagoryId=@data.Id"><img src="/upload/@data.PicUrl" style="width:100%;" /></a>
                    <label>@data.CatagoryName</label>
                </li>
            }
        }
    </ul>

</div>


